Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Major Changes
lint: Migrate to ESLint 9 and
@typescript-eslint
8. (#1537)These changes may affect your project setup if customising your ESLint configuration. See the individual migration guides:
In addition, through these major upgrades, some lint rules have changed or have been renamed. You will likely need adjust your code after running ESLint.
Furthermore,
eslint-plugin-import
has been replaced witheslint-plugin-import-x
. To migrate, any references toeslint-plugin-import
should be replaced witheslint-plugin-import-x
, andimport/
rules withimport-x/
.As part of this migration, skuba has migrated to using Flat ESLint configuration. Read the migration: https://eslint.org/docs/latest/use/configure/migration-guide.
skuba format
will attempt to migrate to flat configuration for you, where.eslintignore
and.eslintrc
are replaced byeslint.config.js
.node, start: Replace
ts-node
withtsx
(#1623)skuba start
andskuba node
now usetsx
instead ofts-node
for running TypeScript files.tsx
has better ESM interoperability, like support for dynamic imports (await import()
), thants-node
.There are some downsides for the REPL (which is what
skuba node
without any file is):import
statements in the REPL are not supported;require
andawait import()
are still supported.ts-node
. If encountering issues, a workaround could be to use.editor
Otherwise,
skuba start
andskuba node <file>
should work as expected. However, it is difficult to comprehensively test every scenario, so this has been released as a major version. It is recommended to test your use-cases ofskuba start
andskuba node
after upgrading.Minor Changes
lint: Update Docker base images to point to AWS ECR Public and remove redundant
--platform
usage (#1684)This updates references to
node:
orpython:
Docker images in yourDockerfile
anddocker-compose.yml
files to point to AWS ECR Public to avoid Docker Hub rate limiting, along with removing redundant--platform
usage.eg.
lint: Removes obsolete version field from docker-compose.yml files (#1638)
deps: TypeScript 5.6 (#1655)
This major release includes breaking changes. See the TypeScript 5.6 announcement for more information.
lint: Replace
.buildkite/
files with duplicated YAML merge keys, for example: (#1537)This should have no functional change, and is to support standardised YAML parsing across different tools, including the latest ESLint upgrades.
This migration will not be capture all cases of this (e.g. if there are keys between the merge keys). If you have other cases, update them following the example above.
template/lambda-sqs-worker-cdk: Replace custom hooks with
@seek/aws-codedeploy-infra
(#1644)lint, format: Remove logic which skips autofixing Renovate branches when there is no open pull request. (#1687)
Previously, this was put in place to prevent an issue where a Renovate branch can get stuck in the
Edited/Blocked
state without a pull request being raised.Skuba's default autofix commits are now ignored by skuba's recommended renovate configuration.
Patch Changes
template/koa-rest-api: Enable secure headers middleware by default (#1601)
template: Add required tags to
lambda-sqs-worker-cdk
template (#1643)api: Truncate Buildkite annotations over 1 MiB to resolve
buildkite-agent
crash (#1645)deps: validate-npm-package-name ^6.0.0 (#1682)
deps: normalize-package-data ^7.0.0 (#1681)
deps: esbuild ~0.24.0 (#1671)
deps: concurrently ^9.0.0 (#1666)
template/*: Update Docker base images to point to AWS ECR Public and remove redundant
--platform
usage (#1684)[email protected]
Major Changes
Migrate to ESLint 9,
@typescript-eslint
8,eslint-config-seek
14. (#1537)These changes may affect your project setup if customising your ESLint configuration. See the individual migration guides:
Through these major upgrades, some lint rules have changed or have been renamed. You will likely need to adjust your code after running ESLint.
As part of this migration, this project has migrated to Flat ESLint configuration. Read the migration: https://eslint.org/docs/latest/use/configure/migration-guide.
Furthermore,
eslint-plugin-import
has been replaced witheslint-plugin-import-x
. To migrate, any references toeslint-plugin-import
should be replaced witheslint-plugin-import-x
, andimport/
rules withimport-x/
.Minor Changes
@typescript-eslint/only-throw-error
in test files (#1689)